|
|
|
|
|
|
|
Q Why is using an Integer data type more efficient? |
|
|
|
|
|
|
|
|
A An Integer data type is processed more efficiently by the computer than a Variant type, which is translated into the appropriate data type for the calculation. |
|
|
|
|
|
|
|
|
Q What can make an application appear slow? |
|
|
|
|
|
|
|
|
A An application can appear slow for many different reasons, including very complex forms and large sections of code without any Windows function calls in them. |
|
|
|
|
|
|
|
|
Q How can you display the first form faster? |
|
|
|
|
|
|
|
|
A If you display a splash screen while the initial form is being loaded, the application will appear to load faster. Also, remove any unnecessary procedure calls in the first form to reduce the amount of procedure calls the application must do before displaying the first form. |
|
|
|
|
|
|
|
|
The Workshop provides quiz questions to help solidify your understanding of the material covered, as well as exercises to provide you with experience in using what you've learned. Try to understand the quiz and exercise answers before continuing on to the next day's lesson. Answers are provided in Appendix A, Answers to Exercises. |
|
|
|
|
|
|
|
|
1. What's a resource file? |
|
|
|
|
|
|
|
|
2. Name three ways to increase application performance. |
|
|
|
|
|
|
|
|
Open the Address Book application and identify any resources or variables that you can change to optimize the process. Also, locate any sections of code that you can modify to tune the process even more. |
|
|
|
|
|